package com.effectivcrm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;



@Controller
class DashboardController {
	

	
	@RequestMapping("/home")
	String home() {
		println "Going home"
		return "home";
	}
	
	@RequestMapping("/")
	String dashboard() {
		println "Going home"
		return "home";
	}
}